#include <stdio.h>

char shell[] = {
	0x55,
	0x89, 0xe5,
	0xb8, 0x01, 0x00, 0x00, 0x00,
	0xbb, 0x00, 0x00, 0x00, 0x00,
	0xcd, 0x80,
	0x5d,
	0xc3,
};

int func() {
	int *ret;

	ret = (int*) &ret+2;
	(*ret) = (int) &shell;

	return 0;
}

int main() {
	func();	

	return 0;
}
